package com.cmc.cloud.cmclink.doc.service;


import com.cmc.cloud.cmclink.doc.entity.DocBkConfirmPrintSetupDO;
import com.cmc.cloud.cmclink.doc.vo.docbkconfirmprintsetupvo.DocBkConfirmPrintSetupCreateReqVO;
import com.cmc.cloud.cmclink.doc.vo.docbkconfirmprintsetupvo.DocBkConfirmPrintSetupPageReqVO;
import com.cmc.cloud.cmclink.doc.vo.docbkconfirmprintsetupvo.DocBkConfirmPrintSetupRespVO;
import com.cmc.cloud.cmclink.doc.vo.docbkconfirmprintsetupvo.DocBkConfirmPrintSetupUpdateReqVO;
import com.cmes.framework.common.pojo.PageResult;

import javax.validation.Valid;
import java.util.Collection;
import java.util.List;

/**
 * booking confirm 打印配置 Service 接口
 *
 * @author 招商轮船-管理员
 */
public interface DocBkConfirmPrintSetupService {

    /**
     * 创建booking confirm 打印配置
     *
     * @param createReqVO 创建信息
     */
    void createDocBkConfirmPrintSetup(@Valid DocBkConfirmPrintSetupCreateReqVO createReqVO);

    /**
     * 更新booking confirm 打印配置
     *
     * @param updateReqVO 更新信息
     */
    void updateDocBkConfirmPrintSetup(@Valid DocBkConfirmPrintSetupUpdateReqVO updateReqVO);

    /**
     * 删除booking confirm 打印配置
     *
     * @param id 编号
     */
    void deleteDocBkConfirmPrintSetup(Long id);

    /**
     * 获得booking confirm 打印配置
     *
     * @param id 编号
     * @return booking confirm 打印配置
     */
    DocBkConfirmPrintSetupDO getDocBkConfirmPrintSetup(Long id);

    /**
     * 获得booking confirm 打印配置列表
     *
     * @param ids 编号
     * @return booking confirm 打印配置列表
     */
    List<DocBkConfirmPrintSetupDO> getDocBkConfirmPrintSetupList(Collection<Long> ids);

    /**
     * 获得booking confirm 打印配置分页
     *
     * @param pageReqVO 分页查询
     * @return booking confirm 打印配置分页
     */
    PageResult<DocBkConfirmPrintSetupDO> getDocBkConfirmPrintSetupPage(DocBkConfirmPrintSetupPageReqVO pageReqVO);

    /**
     * 获得booking confirm 打印配置
     *
     * @param portCode 港口
     * @return booking confirm 打印配置
     */
    DocBkConfirmPrintSetupRespVO getPrintByPortCode(String portCode);

}
